algorithm to check given number is armstrong number or not

welcome to shbcf.ru